package org.example.skytool.redis;

/**
 * @author 22449
 * <p>
 * 规则
 * 1级：模块名_MOUDLE 示例： POST_MOUDLE
 * 2级：模块名_接口名_CONTROLLER 示例 POST_POST_CONTROLLER
 * 3级：模块名_接口名_分类名_KIND 示例 POST_POST_CACHE_KIND
 * 3级以下每多一个分类则_后面多加一层 示例 POST_POST_CACHE_DATA_LIKE_KIND
 */
public class RedisConstants {


    public static final String WECHAT_MOUDLE = "CAMPUS:WECHAT";
    public static final String WECHAT_ACCESS_CONTROLLER = ":access:";
    public static final String WECHAT_ACCESS_TOKEN_KIND = "token";
    public static final String JW_MOUDLE = "CAMPUS:JW";
    public static final String JW_DATA_CONTROLLER = ":data:";
    public static final String JW_DATA_SEMESTER_KIND = "semester:";
    public static final String JW_DATA_SEMESTER_ALL_KIND = "all:";
    public static final String JW_DATA_SEMESTER_NOW_KIND = "now";
    public static final String JW_DATA_WEEK_KIND = "week:";
    public static final String JW_DATA_WEEK_NOW_KIND = "now";
    public static final String JW_DATA_WEEK_INFO_KIND = "info:";

    public static final String JW_TOTAL_CONTROLLER = ":total:";
    public static final String JW_TOTAL_COUNT_KIND = "count";
    public static final String JW_TOTAL_REFUCE_KIND = "refuse";
    public static final String JW_ACCOUNT_CONTROLLER = ":account:";
    public static final String JW_ACCOUNT_COUNT_KIND = ":count";
    public static final String JW_ACCOUNT_REFUSE_KIND = ":refuse";

    public static final String OAA_MOUDLE = "CAMPUS:OAA";
    public static final String OAA_USER_CONTROLLER = ":user";
    public static final String OAA_USER_LOGIN_KIND = ":login";
    public static final String OAA_USER_LOGIN_TODAY_KIND = ":today";

    public static final String BOOK_MOUDLE = "CAMPUS:BOOK";

    public static final String MARKET_MOUDLE = "CAMPUS:MARKET";
    public static final String MARKET_STORE_CONTROLLER = ":store:";
    public static final String MARKET_STORE_CACHE_KIND = "cache:";
    public static final String MARKET_STORE_TOTAL_KIND = "total:";
    public static final String MARKET_STORE_VERSION_KIND = "version";
    public static final String MARKET_COMMODITY_CONTROLLER = ":commodity:";
    public static final String MARKET_COMMODITY_CACHE_KIND = "cache:";
    public static final String MARKET_COMMODITY_TOTAL_KIND = "total:";
    public static final String MARKET_COMMODITY_VERSION_KIND = "version";
    public static final String MARKET_KIND_CONTROLLER = ":kind:";
    public static final String MARKET_KIND_IDS_KIND = "ids:";
    public static final String MARKET_KIND_STORE_KIND = "store:";
    public static final String MARKET_KIND_FATHER_KIND = ":father:";
    public static final String MARKET_KIND_CACHE_KIND = "cache:";
    public static final String MARKET_KIND_TOTAL_KIND = ":total:";
    public static final String MARKET_KIND_VERSION_KIND = ":version";
    public static final String MARKET_DATA_CONTROLLER = ":data:";
    public static final String MARKET_DATA_DTO_CONTROLLER = "dto";
    public static final String MARKET_LOGIN_CONTROLLER = ":login:";
    public static final String MARKET_LOGIN_JWT_KIND = "jwt";

    public static final String ORDER_MOUDLE = "CAMPUS:ORDER";
    public static final String ORDER_COUNT_CONTROLLER = ":count:";
    public static final String ORDER_MQ_CONTROLLER = ":mq:";
    public static final String ORDER_MQ_PAY_KIND = "pay";
    public static final String ORDER_MQ_PAYING_KIND = "paying";
    public static final String ORDER_MQ_ENSURE_KIND = "ensure:";
    public static final String ORDER_MQ_NOPAY_KIND = "nopay";


    public static final String LABEL_MOUDLE = "CAMPUS:LABEL";
    public static final String LABEL_TOTAL_CONTROLLER = ":total:";
    public static final String LABEL_TOTAL_LIST_KIND = "list:";
    public static final String LABEL_TOTAL_LIST_VERSION_KIND = "version";
    //后接userId
    public static final String USER_MOUDLE = "CAMPUS:USER:";
    public static final String USER_DATA_CONTROLLER = ":data:";
    public static final String USER_DATA_DTO_CONTROLLER = "dto";
    public static final String USER_JW_CONTROLLER = ":jw:";
    public static final String USER_JW_COOKIE_KIND = "cookie";
    public static final String USER_OAA_CONTROLLER = ":oaa:";
    public static final String USER_OAA_JWT_KIND = "jwt";
    public static final String USER_OAA_ROLE_KIND = "role";
    public static final String USER_OAA_PERMISSION_KIND = "permission";
    public static final String USER_OAA_STOREVERSION_KIND = "storeversion";
    public static final String USER_OAA_STORE_KIND = "store:";
    public static final String USER_POST_CONTROLLER = ":post:";
    public static final String USER_POST_HISTORY_KIND = "history";
    public static final String USER_COMMENT_CONTROLLER = ":comment:";
    public static final String USER_COMMENT_LIST_KIND = "list:";
    public static final String USER_COMMENT_LIST_READ_KIND = "read";
    public static final String USER_COMMENT_LIST_NOREAD_KIND = "noread";
    public static final String USER_REPLY_CONTROLLER = ":reply:";
    public static final String USER_REPLY_LIST_KIND = "list:";
    public static final String USER_REPLY_LIST_READ_KIND = "read";
    public static final String USER_REPLY_LIST_NOREAD_KIND = "noread";
    public static final String POST_MOUDLE = "CAMPUS:POST:";
    public static final String POST_POST_CONTROLLER = "post:";
    public static final String POST_POST_CACHE_KIND = "cache:";
    public static final String POST_POST_CACHE_DATA_KIND = ":data";
    public static final String POST_POST_CACHE_DATA_LOCK = ":datalock";
    public static final String POST_POST_CACHE_DATA_LIKE_KIND = "likeNum";
    public static final String POST_POST_CACHE_DATA_BROWSE_KIND = "browseNum";
    public static final String POST_POST_CACHE_DATA_CLICK_KIND = "clickNum";
    public static final String POST_POST_CACHE_DATA_TRANSMIT_KIND = "transmitNum";
    public static final String POST_POST_CACHE_MEMBER_KIND = ":likemember";
    public static final String POST_POST_CACHE_MEMBER_LOCK = ":likememberlock";
    public static final String POST_POST_CACHE_CONTENT_KIND = ":content";
    public static final String POST_POST_CACHE_CONTENT_LOCK = ":contentlock";

    public static final String POST_POST_RANK_KIND = "rank:";

    public static final String POST_POST_RANK_COUNT_KIND = "count:";
    public static final String POST_POST_RANK_COUNT_SEARCH_KIND = "search";
    public static final String POST_POST_RANK_COUNT_ACTIVE_KIND = "active";

    public static final String POST_POST_RANK_RANK_KIND = "rank:";
    public static final String POST_POST_RANK_RANK_SEARCH_KIND = "search:";
    public static final String POST_POST_RANK_RANK_SEARCH_TOTAL_KIND = "total";
    public static final String POST_POST_RANK_RANK_RECOMMEND_KIND = "recommend:";
    public static final String POST_POST_RANK_RANK_RECOMMEND_TOTAL_KIND = ":total:";
    public static final String POST_POST_RANK_RANK_RECOMMEND_TOTAL_VERSION_KIND = ":version";
    public static final String POST_POST_RANK_RANK_COMMOM_KIND = "commom:";//接themeid
    public static final String POST_POST_RANK_RANK_COMMOM_TOTAL_KIND = ":total:";//总表
    public static final String POST_POST_RANK_RANK_COMMOM_TOTAL_VERSION_KIND = ":version";
    public static final String POST_POST_RANK_RANK_HOT_KIND = "hot:";
    public static final String POST_POST_RANK_RANK_HOT_TOTAL_KIND = ":total:";
    public static final String POST_POST_RANK_RANK_HOT_TOTAL_VERSION_KIND = ":version";


    public static final String POST_COMMENT_CONTROLLER = "comment:";
    public static final String POST_COMMENT_CACHE_KIND = "cache:";
    public static final String POST_COMMENT_CACHE_DATA_KIND = ":data";
    public static final String POST_COMMENT_CACHE_MEMBER_KIND = ":member";
    public static final String POST_COMMENT_CACHE_MEMBER_LIKE_KIND = "likeNum";
    public static final String POST_REPLY_CONTROLLER = "reply:";
    public static final String POST_REPLY_CACHE_KIND = "cache:";
    public static final String POST_REPLY_CACHE_DATA_KIND = ":data";
    public static final String POST_REPLY_CACHE_MEMBER_KIND = ":member";
    public static final String POST_REPLY_CACHE_MEMBER_LIKE_KIND = "likeNum";
    public static final String POST_THEME_CONTROLLER = "theme:";
    public static final String POST_THEME_LIST = "list";
    public static final String POST_THEME_LOCK = "lock";
    public static final String POST_REPORT_CONTROLLER = "report:";

}
